package top.pengdong.pictureShare.tweet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.pengdong.pictureShare.common.model.PageUtils;
import top.pengdong.pictureShare.common.model.R;
import top.pengdong.pictureShare.tweet.entity.PsCommentEntity;

import java.util.Map;

/**
 * 评论表
 *
 * @author chenshun
 * @email pengshi12138@outlook.com
 * @date 2022-04-25 16:55:46
 */
public interface PsCommentService extends IService<PsCommentEntity> {

    PageUtils queryPage(Map<String, Object> params);

	R comment_add(PsCommentEntity psComment);

	R delete_comment(Long cid);

	R add_like_comment(Long cid, Long valueOf);

	R delete_like_comment(Long cid, Long valueOf);

	R get_comment_info(Long aid, Integer page, Integer limit, Long userId);
}

